matrix data analysis method